output "vpc_id" {
  value = huaweicloud_vpc.vpc.id
}

output "subnet_id" {
  value = huaweicloud_vpc_subnet.subnet.id
}

output "secgroup_id" {
  value = huaweicloud_networking_secgroup.secgroup.id
}

output "rds_secgroup_id" {
  value = huaweicloud_networking_secgroup.rds_secgroup[*].id
}

output "sec_rules" {
  value = huaweicloud_networking_secgroup.secgroup.rules
}

output "ipv4_subnet_id" {
  value = huaweicloud_vpc_subnet.subnet.ipv4_subnet_id
}